package com.levi.SimpleFactoryMode.Operation;

import com.levi.SimpleFactoryMode.Operation.Operation;

/**
 * @author Levi
 * @description :  Operation的加法类
 * @since 2022/8/31 10:54
 */

public class OperationAdd extends Operation {

    @Override
    public double getResult() {
        return this.getNumberA() + this.getNumberB();
    }
}
